
import 'package:framelib/base/base_service.dart';
import 'package:framelib/net/baseentity.dart';
import 'package:module_business/module_comm/model/comm_entity_factory.dart';
import 'package:module_business/module_comm/model/country_entity.dart';
import 'package:module_business/module_contact/model/interest_chat_channel_entity.dart';

import '../model/contact_entity_factory.dart';
import 'net/contact_api.dart';
import 'net/contact_net_utils.dart';

/**
 * ModuleContact 网络层
 */
class ModuleContactService with BaseService{

  // // 接口
  Future<BaseEntity> api_expand_sigleParentChat_getChatRoomByKeys({Map<String, dynamic> parmsMap}) async {
    return await ContactNetUtils.instance.postData<InterestChatChannelEntity,ContactEntityFactory>
      (ContactEntityFactory.instance,ContactApi.instance.api_expand_sigleParentChat_getChatRoomByKeys ,
      params: parmsMap,isList: false,
    );
  }
}
